package com.itheima.common.pojo.vo;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetmealVO {

    private List<String> setmealNames;  //套餐名称

    private List<SetmealCount> setmealCounts;  //预约该套餐的数量

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SetmealCount {
        private String name;  // 套餐名称
        private Integer value; // 预约数量
        private String proportion; // 占比，格式为："xx.xx%"
    }
}
